/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package csci6450.chickenFriedFS.nuggetCore;

import csci6450.chickenFriedFS.nuggetCore.Nugget;

/**
 *
 * @author jacobschoen
 */
public class ThreadStatus {

    private boolean successful = false;

    private boolean finished = false;

    private String nuggetIdentifier;

    public ThreadStatus (String identifier){
        this.nuggetIdentifier = identifier;
        this.finished = false;
    }

    public boolean isSuccessful(){
        return this.successful;
    }

    public void setSuccessful(boolean set){
        this.successful = set;
    }

    public String getNuggetIdentifier(){
        return this.nuggetIdentifier;
    }

    public boolean isFinished(){
        return this.finished;
    }

    public void setFinished(boolean set){
        this.finished = set;
    }

    private Nugget result;

    public Nugget getResult(){
        return this.result;
    }

    public void setResult(Nugget set){
        this.result = set;
    }

}
